package com.ruoyi.purchase.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * RawProductDetail对象 raw_product_detail
 * 
 * @author kevinness
 * @date 2025-01-18
 */
public class RawProductDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 货品编码 */
    private String rawProductCode;

    /** 订单编号 */
    private String orderNo;

    /** 货品批号 */
    @Excel(name = "货品批号")
    private String rawProductBatch;

    /** 货品名称 */
    @Excel(name = "货品名称")
    private String rawProductName;

    /** 货品重量 */
    @Excel(name = "货品重量")
    private BigDecimal weight;

    /** 重量单位 */
    @Excel(name = "重量单位")
    private String weightUnit;

    /** 货品体积 */
    @Excel(name = "货品体积")
    private BigDecimal volume;

    /** 体积单位 */
    @Excel(name = "体积单位")
    private String volumeUnit;

    /** 货源地 */
    private String origin;

    /** 调拨状态 */
    @Excel(name = "调拨状态")
    private String allocationStatus;

    public void setRawProductCode(String rawProductCode) 
    {
        this.rawProductCode = rawProductCode;
    }

    public String getRawProductCode() 
    {
        return rawProductCode;
    }
    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
    public void setRawProductBatch(String rawProductBatch)
    {
        this.rawProductBatch = rawProductBatch;
    }

    public String getRawProductBatch() 
    {
        return rawProductBatch;
    }
    public void setRawProductName(String rawProductName) 
    {
        this.rawProductName = rawProductName;
    }

    public String getRawProductName() 
    {
        return rawProductName;
    }
    public void setWeight(BigDecimal weight) 
    {
        this.weight = weight;
    }

    public BigDecimal getWeight() 
    {
        return weight;
    }
    public void setWeightUnit(String weightUnit) 
    {
        this.weightUnit = weightUnit;
    }

    public String getWeightUnit() 
    {
        return weightUnit;
    }
    public void setVolume(BigDecimal volume) 
    {
        this.volume = volume;
    }

    public BigDecimal getVolume() 
    {
        return volume;
    }
    public void setVolumeUnit(String volumeUnit) 
    {
        this.volumeUnit = volumeUnit;
    }

    public String getVolumeUnit() 
    {
        return volumeUnit;
    }
    public void setAllocationStatus(String allocationStatus) 
    {
        this.allocationStatus = allocationStatus;
    }

    public String getAllocationStatus() 
    {
        return allocationStatus;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rawProductCode", getRawProductCode())
            .append("orderNo", getOrderNo())
            .append("rawProductBatch", getRawProductBatch())
            .append("rawProductName", getRawProductName())
            .append("weight", getWeight())
            .append("weightUnit", getWeightUnit())
            .append("volume", getVolume())
            .append("volumeUnit", getVolumeUnit())
            .append("origin", getOrigin())
            .append("allocationStatus", getAllocationStatus())
            .toString();
    }
}
